import URL from './url.js'
async function get_location() {
    try {
        let response = await fetch(URL.LOCATION_URL, {
            method: 'GET',
        });
        let responseJson = await response.json();
        console.log('json', responseJson);
        return responseJson;
    } catch (error) {
        console.log("location", error);
    }
    return null;
}
export { get_location };